package com.winning.devops.demo.base.disruptor;

import com.lmax.disruptor.EventFactory;

/**
 * @author chensj
 * @title loggerEvent生成的工厂类，提供给Disruptor使用
 * @project logback-demo
 * @package com.winning.devops.demo.base.disruptor
 * @date: 2019-04-09 16:06
 */
public class LoggerEventFactory implements EventFactory {
    @Override
    public Object newInstance() {
        return new LoggerEvent();
    }
}
